package com.example.itcacp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.itcacp.entity.Content;
import com.example.itcacp.entity.Like;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface LikeService extends IService<Like> {

    /**
     * 点赞
     * */
    void addLike (Like like);

    PageInfo<Like> selectUserLikePage (Integer pageNum, Integer pageSize, Long userId);
}
